<template>
	<view>
		<web-view v-if="toUrl" :src="toUrl"></web-view>
	</view>
</template>

<script>
	import {
		setting
	} from "@/api/api.js"
	export default {
		data() {
			return {
				toUrl: ''
			};
		},
		onLoad() {
			setting().then(res => {
				this.toUrl = res.data.data.customer_service
				console.log(res);
			})
		}
	}
</script>

<style lang="scss" scoped>

</style>